﻿using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Web;

namespace TeamsPortal.Web.Controllers.Models
{
    public class UploadImageModel
    {
        public byte[] ImageBytes { get; set; }

        [Range(0, int.MaxValue)]
        public int X { get; set; }

        [Range(0, int.MaxValue)]
        public int Y { get; set; }

        [Range(0, int.MaxValue)]
        public int Width { get; set; }

        [Range(0, int.MaxValue)]
        public int Height { get; set; }

        public string RedirectUrl { get; set; }
    }
}
